// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_HR_MONTH_SALARY_ITEM
// * CreateDate    : 2011/10/27 13:18:50
// * Creater       : CodeSmith
// * LastChangeDate: 2011/10/27 13:18:50
// * LastChanger   : 2011/10/27 13:18:50
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class HrMonthSalaryItemTable : TableInfo
    {
		public const string C_TableName = "HR_MONTH_SALARY_ITEM";
		
		public const string C_ITEM_ID = "ITEM_ID";
		public const string C_MONTH_SALARY_ID = "MONTH_SALARY_ID";
		public const string C_SALARY_ITEM = "SALARY_ITEM";
		public const string C_TOTAL_HOURS = "TOTAL_HOURS";
		public const string C_HOUR_PRICE = "HOUR_PRICE";
		public const string C_SALARY = "SALARY";
		public const string C_REMARK = "REMARK";
		
		public HrMonthSalaryItemTable()
        {
            _tableName = "HR_MONTH_SALARY_ITEM";
        }
		
		protected static HrMonthSalaryItemTable _current;
        public static HrMonthSalaryItemTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new HrMonthSalaryItemTable();

            _current.Add(C_ITEM_ID, new ColumnInfo(C_ITEM_ID,"ItemId", true, typeof(string)));
            _current.Add(C_MONTH_SALARY_ID, new ColumnInfo(C_MONTH_SALARY_ID,"MonthSalaryId", false, typeof(string)));
            _current.Add(C_SALARY_ITEM, new ColumnInfo(C_SALARY_ITEM,"SalaryItem", false, typeof(string)));
            _current.Add(C_TOTAL_HOURS, new ColumnInfo(C_TOTAL_HOURS,"TotalHours", false, typeof(decimal)));
            _current.Add(C_HOUR_PRICE, new ColumnInfo(C_HOUR_PRICE,"HourPrice", false, typeof(decimal)));
            _current.Add(C_SALARY, new ColumnInfo(C_SALARY,"Salary", false, typeof(decimal)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
			
		}
		
		public ColumnInfo ITEM_ID
        {
            get { return this[C_ITEM_ID]; }
        }
		
		public ColumnInfo MONTH_SALARY_ID
        {
            get { return this[C_MONTH_SALARY_ID]; }
        }
		
		public ColumnInfo SALARY_ITEM
        {
            get { return this[C_SALARY_ITEM]; }
        }
		
		public ColumnInfo TOTAL_HOURS
        {
            get { return this[C_TOTAL_HOURS]; }
        }
		
		public ColumnInfo HOUR_PRICE
        {
            get { return this[C_HOUR_PRICE]; }
        }
		
		public ColumnInfo SALARY
        {
            get { return this[C_SALARY]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		
		
	}
}

